package avicit.bdp;

import avicit.bdp.common.utils.EnableBdpDatabase;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2020-11-12 10:26
 * @类说明：需要配置@MapperScan，自动扫描mybatis的mapper接口
 * @修改记录：
 */
@SpringBootApplication
@EnableScheduling
@EnableBdpDatabase
@MapperScan({"avicit.bdp.oss.*.dao"})
@ComponentScan({"avicit"})
@EnableWebMvc
public class DssApplication {
	public static void main(String[] args) {
		SpringApplication.run(DssApplication.class, args);
	}
}
